package com.max.common.oauth.oauth10;

public class OAuthException extends Exception
{

	private static final long serialVersionUID = 8512184288677073821L;
	
	private int statusCode = -1;

	
    public OAuthException(String msg) 
    {
        super(msg);
    }

    public OAuthException(Exception cause)
    {
        super(cause);
    }

    public OAuthException(int statusCode, String msg) 
    {
        super(msg);
        this.statusCode = statusCode;
    }

    public OAuthException(String msg, Exception cause) 
    {
        super(msg, cause);
    }

    public OAuthException(String msg, Exception cause, int statusCode) 
    {
        super(msg, cause);
        this.statusCode = statusCode;

    }

    public int getStatusCode() 
    {
        return this.statusCode;
    }
}
